package com.hyzx.qbasic.admin.domain.repository;

import com.github.pagehelper.PageInfo;
import com.hyzx.qbasic.admin.model.po.SysParamPO;
import com.hyzx.qbasic.admin.model.dto.KeyValuePair;

import java.util.List;

/**
 * Created by 黄江华 on 2018/7/20
 */

public interface ISysParamRepository {

    PageInfo<SysParamPO> getPagedParamList(int pageNum, int pageSize, String pType);

    boolean addParam(SysParamPO param);

    boolean deleteParam(List<Integer> pIdList);

    SysParamPO getParamInfo(int pId);

    boolean editParam(SysParamPO param);

    List<KeyValuePair> getParamListByType(String pType);
}
